tools: xen-ringwatch: spot, and work around, broken frontend/backend ring I/O
authorDaniel Stodden <daniel.stodden@citrix.com>
Tue, 21 Jun 2011 14:38:52 +0000 (15:38 +0100)
committerDaniel Stodden <daniel.stodden@citrix.com>
Tue, 21 Jun 2011 14:38:52 +0000 (15:38 +0100)
commit707c0784550e660538e9bc30867a5d32ad1fd669
treefe7f09a4931f2709d43e7fae77f483a662ab6569
parentcd703ed54853dcaf51fb61b29f2f55e7c88f1d56
tools: xen-ringwatch: spot, and work around, broken frontend/backend ring I/O

Adds tool support to debug backends which expose I/O ring state in
sysfs. Currently supports /sys/devices/xen-backend/vbd-*-*/io_ring
nodes for block I/O, where implemented.

Primary function is to observe ring state make progress over a period
of time, then report stuck message queue halves where pending
consumer/event are not moving.

Adding --kick will re-issue event notifications to frontends, and/or
kick backends out of wait state.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/misc/Makefile
tools/misc/xen-ringwatch [new file with mode: 0644]